import { GetMapping, Injectable, HttpRequest } from '@/decorators';
import { Controller } from '@/decorators';

@Injectable()
@Controller('/user')
export class AppController {
    constructor(readonly httpRequest: HttpRequest) {}

    @GetMapping('/userInfo')
    getUserInfo() {
        return this.httpRequest.request({});
    }
}
